package com.efast.dmom.mgmt.service.excel.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.efast.dmom.mgmt.bean.excel.ExcelRuleDataBean;
import com.efast.dmom.mgmt.dao.excel.ExcelTemplateExportCommonDao;
import com.efast.dmom.mgmt.service.excel.ExcelTemplateExportCommonService;
@Service
public class ExcelTemplateExportCommonImpl implements ExcelTemplateExportCommonService {
    
	@Autowired
	private ExcelTemplateExportCommonDao excelTemplateExportCommonDao;
	

	
	@Override
	public List<ExcelRuleDataBean> selectFieldCommentByTableName(String tableName) {
		return excelTemplateExportCommonDao.selectFieldCommentByTableName(tableName);
	}

	@Override
	public String selectTableNameByentityName(String entityName) {
		return excelTemplateExportCommonDao.selectTableNameByentityName(entityName);
	}

	@Override
	public Object selectFieldValueByFieldName(String tableName, String fieldName) {
		return excelTemplateExportCommonDao.selectFieldValueByFieldName(tableName,fieldName);
	}

}
